package com.skivingcloud.feign.conf;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hushouquan
 */
@Component
@ConfigurationProperties
public class CommonFeignPropertiesConfig {
    /**
     * 服务间调用的认证token
     */
    @Value("${skivingcloud.common.feign.accessToken:''}")
    private String feignAccessToken;
    
    public String getFeignAccessToken() {
        return feignAccessToken;
    }
    
    public void setFeignAccessToken(String feignAccessToken) {
        this.feignAccessToken = feignAccessToken;
    }
}
